package com.mg.service;

import com.github.pagehelper.PageInfo;
import com.mg.dto.RevenueRecordDto;
import com.mg.dto.SimpleResult;
import com.mg.model.RevenueRecord;

/**
 * Created by mg1213 on 2018/3/18.
 */
public interface RevenueRecordService {
    PageInfo<RevenueRecordDto> selectRecordPageInfo(RevenueRecordDto dto, int start, int limit);
    PageInfo<RevenueRecordDto> selectPageInfo(RevenueRecordDto dto, int start, int limit);

    SimpleResult insertRevenueRecord(RevenueRecord record);
    SimpleResult updateRevenueRecord(RevenueRecord record);

    SimpleResult deleteRevenueRecord(String ids);

    SimpleResult createRevenueRecord(RevenueRecordDto record);
}
